@import "@styles/theme.scss";

.item {
  position: relative;
  overflow: hidden;
}

.item__wrap {
  padding-bottom: 100px;
  background: #F4F4F4;
}

.item-select {
  margin-bottom: $spacing-h-md;
  padding-left: $spacing-h-lg;
  background: #FFF;

  &-list {
    position: relative;
    height: 96px;
    line-height: 96px;
    font-size: 26px;
    color: #333;
    border-top: 1px solid $border-color;
    &:first-child {
      border-top: none;
    }

    &-label {
      margin-right: 12px;
      display: inline-block;
      width: 72px;
      font-weight: bold;
    }

    &-value {

    }

    &-iconmore {
      position: absolute;
      right: $spacing-h-lg;
      line-height: 96px;
    }
  }
}

.item-border {
  width: 100%;
  height: 2px;
  background-color: $border-color;
}

.item__footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  z-index: 10;
}

.item__server {
  &-title{
    font-size: 36px;
    line-heigth: 60px;
    text-align: center;
    padding: 20px;
  }

  &-name{
    font-size: 25px;
    line-heigth: 40px;
    text-align: left;
    padding: 20px;
    display: flex;
    flex-direction: row;
  }

  &-content{
    font-size: 25px;
    line-heigth: 40px;
    text-align: left;
    padding-left: 43px;
    color: $text-color-light;
  }
}

.marker {
  width: 10px;
  height: 10px;
  border: 1px solid $primary-color;
  border-radius: 100px;
  background-color: $primary-color;
  margin: 10px 10px 5px 5px;
}

.item-spec {
  padding-left: 5px;
  padding-right: 10px;
  max-height: 800px;
}

.item-spec__info {
  display: flex;
  flex-direction: row;
  height: 200px;

  &-img {
    padding-right: 21px;
    width: 180px;
    height: 180px;
  }

  &-wrap {
    display: flex;
    flex-direction: column;
    padding-top: 92px;
  }

  &-price {
    display: flex;
    flex-direction: row;

    &-txt {
      margin-right: 20px;
      color: $primary-color;
      font-size: 28px;
      line-height: 28px;
    }

    &-origin {
      color: $text-color-lighter;
      font-size: 28px;
      line-height: 28px;
      text-decoration: line-through;
      text-decoration-color: $text-color-lighter;
    }
  }

  &-tip {
    margin-top: 20px;
    color: $text-color;
    font-size: 28px;
    line-height: 28px;
  }
}

.item-spec__c {
  max-height: 500px;
}

.item-spec__group {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;

  &-title {
    color: $text-color;
    font-size: 28px;
    line-height: 28px;
  }

  &-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    &-item {
      margin: 20px 30px 0 0;
      padding: 0 26px;
      height: 70px;
      color: $text-color;
      font-size: 24px;
      line-height: 68px;
      border: 1px solid $text-color-light;
      border-radius: $border-radius;
      @include eject(border-width, 1PX);

      &--active {
        color: $primary-color;
        border-color: $primary-color;
      }

      &--disabled {
        color: $text-color-lighter;
        border-color: $text-color-lighter;
      }
    }
  }
}

.item-spec__number {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;

  &-title {
    color: $text-color;
    font-size: 28px;
    line-height: 28px;
    padding-bottom: 20px;
  }
}

.item-spec__footer {
  display: flex;
  flex-direction: row;
  padding-top: 20px;

  &-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    width: 300px;
    height: 80px;

    &-cart {
      background: #b59f7b;
      margin-right: 10px;
    }

    &-buy {
      background: $color-brand;
      margin-left: 10px;
    }

    &-txt {
      color: #ffffff;
      font-size: 28px;
      line-height: 28px;
    }
  }
}
